﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfLogin.aspx.cs" Inherits="Texfina.ERP.wfLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        body
        {
            font-family: Tahoma,Arial,Helvetica;
            font-size: 70%;
        }
        .content_form_login
        {
            position: absolute;
            width: 400px;
            height: 260px;
            left: 50%;
            top: 50%;
            margin-left: -200px;
            margin-top: -130px;
        }
        .form_cab_login
        {
            background: url("Images/Logos/Headermsg.png");
            width: 400px;
            height: 35px;
            padding: 9px 0px;
        }
        .form_pie_login
        {
            background: url("Images/Logos/piemsg.png");
            width: 400px;
            height: 19px;
        }
        .form_body_login
        {
            background: #5171a5;
            padding: 0px 3px;
        }
        .table_body_form
        {
            background: #fff;
            width: 394px;
            height: 75%;
        }
        .buttom_login
        {
            width: 153px;
            background: #eaeaea 0 -2300px repeat-x url('Images/Controls/sprite.gif');
            border: 1px solid #A4A4A4;
            border-top: 1px solid #D8D8D8;
            height: 28px;
        }
        .buttom_login:hover
        {
            border: 1px solid #58ACFA;
            border-top: 1px solid #A9D0F5;
            cursor: pointer;
            background: #eaeaea 0 -2300px repeat-x url('Images/Controls/sprite.gif');
        }
        #Login
        {
            height: 431px;
        }
    </style>
</head>
<body>
    <form id="Login" method="post" runat="server" autocomplete="off">
    <div class="content_form_login">
        <div class="form_cab_login">
            &nbsp;<img alt="Login" src="Images/Logos/Logo.png" />
        </div>
        <div class="form_body_login">
            <table class="table_body_form">
                <tr>
                    <td style="width: 54px;">
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td colspan="2">
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 54px;">
                        &nbsp;
                    </td>
                    <td class="style4">
                        <asp:Label ID="Label2" runat="server">Usuario:</asp:Label>
                    </td>
                    <td colspan="2">
                        <asp:TextBox Width="150px" ID="txtUsername" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="val1" runat="server" ControlToValidate="txtUsername"
                            ErrorMessage="*" ForeColor="Red" ValidationGroup="validatelogin">*</asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 54px;">
                        &nbsp;
                    </td>
                    <td class="style4">
                        <asp:Label ID="Label3" runat="server">Contraseña:</asp:Label>
                    </td>
                    <td colspan="2">
                        <asp:TextBox Width="150px" ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="val2" runat="server" ControlToValidate="txtPassword"
                            ErrorMessage="*" ForeColor="Red" ValidationGroup="validatelogin">*</asp:RequiredFieldValidator>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td colspan="5" style="text-align: center" class="style2">
                        <asp:Label ID="errorLabel" runat="server" ForeColor="#FF3300" Font-Size="Small"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="width: 54px;">
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Button class="buttom_login" ID="bttLogin" runat="server" Text="Aceptar" 
                           ValidationGroup="validatelogin" onclick="bttLogin_Click">
                        </asp:Button>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td style="width: 54px;">
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td colspan="2">
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        </div>
        <div class="form_pie_login">
        </div>
    </div>
    </form>
</body>
</html>
